UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SMTP service log file must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-838 GEN004500 SV-37502r1_rule ECLP-1 Medium
Description
If the SMTP service log file is more permissive than 0644, unauthorized users may be allowed to change the log file.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2014-01-09

Details

Check Text ( C-36159r1_chk )
Check the mode of the SMTP service log file.

Procedure:
The check procedure is the same for both sendmail and Postfix.
Identify any log files configured for the "mail" service (excluding mail.none) at any severity level and check the permissions
# egrep "mail\.[^n][^/]*" /etc/syslog.conf|sed 's/^[^/]*//'|xargs ls -lL

If the log file permissions are greater than 0644, this is a finding.

Fix Text (F-31410r1_fix)
Change the mode of the SMTP service log file.

Procedure:
The fix procedure is the same for both sendmail and Postfix.
# chmod 0644